﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SArenaCrossBattle extends Object
    {
        public var arenaId:int;
        public var groupOne:SArenaCrossBattlePlayer;
        public var groupTwo:SArenaCrossBattlePlayer;

        public function SArenaCrossBattle()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.arenaId);
            this.groupOne.__write(param1);
            this.groupTwo.__write(param1);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.arenaId = param1.readInt();
            this.groupOne = new SArenaCrossBattlePlayer();
            this.groupOne.__read(param1);
            this.groupTwo = new SArenaCrossBattlePlayer();
            this.groupTwo.__read(param1);
            return;
        }// end function

    }
}
